package com.ysla.proxy;

import com.ysla.util.XMLUtil;

public class Client {

    public static void main(String[] args) {
        String path = "structural-mode/proxy-pattern/src/main/resources/config.xml";
        Searcher searcher = (Searcher) XMLUtil.getBean(path,"className");
        String rs = searcher.DoSearch("杨过","测试");
        System.out.println(rs);
    }

}
